package com.zhoutao123.hephaestus.repository.dao;

import com.zhoutao123.hephaestus.repository.entity.SysResources;
import com.zhoutao123.hephaestus.repository.entity.SysResourcesExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SysResourcesMapper {
    long countByExample(SysResourcesExample example);

    int deleteByExample(SysResourcesExample example);

    int deleteByPrimaryKey(String id);

    int insert(SysResources record);

    int insertSelective(SysResources record);

    List<SysResources> selectByExample(SysResourcesExample example);

    SysResources selectByPrimaryKey(String id);

    int updateByExampleSelective(
            @Param("record") SysResources record, @Param("example") SysResourcesExample example);

    int updateByExample(
            @Param("record") SysResources record, @Param("example") SysResourcesExample example);

    int updateByPrimaryKeySelective(SysResources record);

    int updateByPrimaryKey(SysResources record);
}
